﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DsSource" targetNamespace="http://tempuri.org/DsSource.xsd" xmlns:mstns="http://tempuri.org/DsSource.xsd" xmlns="http://tempuri.org/DsSource.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection ConnectionStringObject="Data Source=SRM-SERVER;Initial Catalog=HuyHoangNH;User ID=sa;Password=srmdep" IsAppSettingsProperty="false" Modifier="Assembly" Name="srm-server.HuyHoangNH.dbo" ParameterPrefix="@" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SoDuTaiKhoanTableAdapter" GeneratorDataComponentClassName="SoDuTaiKhoanTableAdapter" Name="SoDuTaiKhoan" UserDataComponentName="SoDuTaiKhoanTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="srm-server.HuyHoangNH.dbo" DbObjectName="HuyHoangNH.dbo.SoDuTaiKhoan" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [SoDuTaiKhoan] WHERE (([DuNo] = @Original_DuNo) AND ([ID] = @Original_ID))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_DuNo" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="DuNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT TOP (10) DuNo FROM SoDuTaiKhoan ORDER BY DuNo DESC</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [SoDuTaiKhoan] SET [DuNo] = @DuNo, [ID] = @ID WHERE (([DuNo] = @Original_DuNo) AND ([ID] = @Original_ID));
SELECT TOP (10) DuNo, ID FROM SoDuTaiKhoan WHERE (ID = @ID) ORDER BY DuNo DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@DuNo" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="DuNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_DuNo" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="DuNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="DuNo" DataSetColumn="DuNo" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DsSource" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="DsSource" msprop:Generator_UserDSName="DsSource" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="SoDuTaiKhoan" msprop:Generator_UserTableName="SoDuTaiKhoan" msprop:Generator_RowDeletedName="SoDuTaiKhoanRowDeleted" msprop:Generator_TableClassName="SoDuTaiKhoanDataTable" msprop:Generator_RowChangedName="SoDuTaiKhoanRowChanged" msprop:Generator_RowClassName="SoDuTaiKhoanRow" msprop:Generator_RowChangingName="SoDuTaiKhoanRowChanging" msprop:Generator_RowEvArgName="SoDuTaiKhoanRowChangeEvent" msprop:Generator_RowEvHandlerName="SoDuTaiKhoanRowChangeEventHandler" msprop:Generator_TablePropName="SoDuTaiKhoan" msprop:Generator_TableVarName="tableSoDuTaiKhoan" msprop:Generator_RowDeletingName="SoDuTaiKhoanRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="DuNo" msprop:Generator_UserColumnName="DuNo" msprop:Generator_ColumnPropNameInRow="DuNo" msprop:Generator_ColumnVarNameInTable="columnDuNo" msprop:Generator_ColumnPropNameInTable="DuNoColumn" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>